/**
 * 
 */
package com.hhuhh.smarthome.socket;


/**
 * 常量类,用户根据自己需要定义自己所需的常量
 * @author John zhang
 * @version 0.1
 */
public class IoConstants {
	
	public static boolean DEBUG = true;
	
	public static final String REQUEST_ACTION_KEY = "action";
	public static final String RESULT_DECODER_KEY = "resultDecoder";
	public static final String SERVER_PUBLIC_KEY = "serverPublicKey";
	public static final String CLIENT_PUBLIC_KEY = "clientPublicKey";
	public static final String CLIENT_PRIVATE_KEY = "clientPrivateKey";
	
	public static final String ACTION_DATA_DELIMITER = ":";
	
	/**
	 * All action names 
	 */
	public static final String ACTION_PUBLIC_KEY = "publicKey";
	public static final String ACTION_LOGIN = "login";
	public static final String ACTION_REGISTER = "register";
}
